import re
s = open('Makefile').read()
s = re.sub(r'VERSION:=(\d+)', lambda x:'VERSION:='+str(int(x.group(1))+1), s)
open('Makefile', 'w').write(s)
